package pharao.client.views.game.login;

import pharao.client.views.game.login.events.ShowLoginViewEvent;
import hmvc4gwt.client.event.IHmvcEvent;
import hmvc4gwt.framework.client.controller.GuiController;
import hmvc4gwt.framework.client.events.AddViewEvent;


public class LoginController extends GuiController {

	public void initImpl() {
		register(ShowLoginViewEvent.class, this);

	}

	public void handleEventImpl(IHmvcEvent event) {
		
		if (event instanceof ShowLoginViewEvent) {
			fireEvent(new AddViewEvent(getView()), true, false, false);	
		}
	}

	public Class getClassOfObject() {
		// TODO Auto-generated method stub
		return null;
	}

}
